package com.yuexin.project.finance.bill.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yuexin.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户账单表 user_bill
 *
 * @author zoncont.ahanu
 * @date 2019-03-13
 */
public class Bill extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 账单ID */
	private Integer billId;
	/** 流水号（规则：YYYYMMddHH+4位流水号） */
	private String serialNo;
	/** 用户ID */
	private Long userId;
	/** 用户账号 */
	private String userName;
	/** 充值金额 */
	private BigDecimal price;
	/** 余额 */
	private BigDecimal money;
	/** 充值类型（0：自费充值，1：补贴充值，2：冲账，3：用餐扣费） */
	private String billType;
	/** 描述 */
	private String describes;
	/** 公司ID */
	private String companyId;
	/** 状态（0正常 1停用） */
	private String status;
	/** 备注 */
	private String remark;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 创建时间 */
	private String createDate;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateTime;
	/** 分组ID */
	private Integer groupId;

	public void setBillId(Integer billId) {
		this.billId = billId;
	}

	public Integer getBillId() {
		return billId;
	}

	public String getSerialNo() {
		return serialNo;
	}

	public void setSerialNo(String serialNo) {
		this.serialNo = serialNo;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getPrice() {
		return price;
	}
	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public BigDecimal getMoney() {
		return money;
	}
	public void setBillType(String billType) {
		this.billType = billType;
	}

	public String getBillType() {
		return billType;
	}
	public void setDescribes(String describes) {
		this.describes = describes;
	}

	public String getDescribes() {
		return describes;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getCompanyId() {
		return companyId;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRemark() {
		return remark;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getCreateBy() {
		return createBy;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getCreateTime() {
		return createTime;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}
}
